package com.qiaofang.applet.service.property.repository;

import com.qiaofang.applet.service.property.domain.PropertyVideo;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface PropertyVideoRepository extends MongoRepository<PropertyVideo, String> {
    PropertyVideo findByVideoUuidAndCompanyUuid(String videoUuid, String companyUuid);

    PropertyVideo findFirstByPropertyUuidAndCityCodeAndCorporationCode(String propertyUuid, String cityCode, String corporationCode);
}
